import request from '@/utils/request'

// 获取快递员分页数据
export function getCourierList(params) {
  return request({
    url: 'manager/business-hall/courier/page',
    params
  })
}

// 获取快递员详情
export function courierDetails(params) {
  return request({
    url: `/manager/business-hall/courier/${params}`
  })
}

// 获取树状机构信息
export function getTree() {
  return request({
    url: `/manager/business-hall/tree`
  })
}

// 获取业务范围
export function getScope(id, type) {
  return request({
    url: `/manager/business-hall/scope/${id}/${type}`

  })
}
